package com.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pojo.Student;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface StudentDAO extends BaseMapper<Student> {
    IPage searchStudent(Page page, @Param("m") Map m);
    Student queryStudent(@Param("username") String username);

    int updateStudent(@Param("student")Student student);
}
